<include file="public/min-header"/>
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>

<div class="wrapper">
    <include file="public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">

            <div class="panel panel-default">
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="handle_shop">

                        <!--通用信息-->
                    <div class="tab-content col-md-10">                 	  
                        <div class="tab-pane active" id="tab_tongyong">                           
                            <table class="table table-bordered">
                                <tbody>

                                <tr>
                                    <td class="col-sm-2">唯一账号：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userInfo.openId}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">头像：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <img src="{$userInfo.avatarUrl}" width="50px;" height="50px">
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td class="col-sm-2">昵称:</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userInfo.nickName}【{$userInfo.gradeName}】</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2" >手机号码：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userInfo.userMobile}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">账户余额：</td>
                                    <td class="col-sm-2">
                                        <p class="form-control-static">{$userInfo.userBalance}</p>
                                    </td>
                                    <td class="col-sm-2">账户积分：</td>
                                    <td class="col-sm-2">
                                        <p class="form-control-static">{$userInfo.userIntegral}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">性别：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userSex[$userInfo.userSex]}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">出生日期：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userInfo.birthdayYear}-{$userInfo.birthdayData}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">兴趣爱好：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{$userInfo.userHobby}</p>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="col-sm-2">注册时间：</td>
                                    <td class="col-sm-8" colspan="3">
                                        <p class="form-control-static">{:date('Y-m-d H:i:s', $userInfo.addTime)}</p>
                                    </td>
                                </tr>

                                </tbody> 
                                <tfoot>
                                	<tr>
                                        <td>
                                        </td>
                                	    <td colspan="3" class="text-right"><input class="btn btn-primary" type="button" onclick="shop_submit()" value="关闭"></td>
                                    </tr>
                                </tfoot>                               
                            </table>
                        </div>                           
                    </div>              
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
function shop_submit(){
    window.parent.location.reload();
}
</script>
 </body>
 </html>